// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_TECHNIC
// * CreateDate    : 2012/3/23 19:06:28
// * Creater       : CodeSmith
// * LastChangeDate: 2012/3/23 19:06:28
// * LastChanger   : 2012/3/23 19:06:28
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class ProdTechnicTable : TableInfo
    {
        public const string C_TableName = "PROD_TECHNIC";

        public const string C_TECHNIC_ID = "TECHNIC_ID";
        public const string C_TECHNIC_CODE = "TECHNIC_CODE";
        public const string C_TECHNIC_NAME = "TECHNIC_NAME";
        public const string C_SEQUENCE = "SEQUENCE";
        public const string C_STATION_TYPE = "STATION_TYPE";
        public const string C_DELETE_FLAG = "DELETE_FLAG";
        public const string C_DESCRIPTION = "DESCRIPTION";
        public const string C_GROUP_ID = "GROUP_ID";

        public ProdTechnicTable()
        {
            _tableName = "PROD_TECHNIC";
        }

        protected static ProdTechnicTable _current;
        public static ProdTechnicTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new ProdTechnicTable();

            _current.Add(C_TECHNIC_ID, new ColumnInfo(C_TECHNIC_ID, "TechnicId", true, typeof(string)));
            _current.Add(C_TECHNIC_CODE, new ColumnInfo(C_TECHNIC_CODE, "TechnicCode", false, typeof(string)));
            _current.Add(C_TECHNIC_NAME, new ColumnInfo(C_TECHNIC_NAME, "TechnicName", false, typeof(string)));
            _current.Add(C_SEQUENCE, new ColumnInfo(C_SEQUENCE, "Sequence", false, typeof(int)));
            _current.Add(C_STATION_TYPE, new ColumnInfo(C_STATION_TYPE, "StationType", false, typeof(string)));
            _current.Add(C_DELETE_FLAG, new ColumnInfo(C_DELETE_FLAG, "DeleteFlag", false, typeof(int)));
            _current.Add(C_DESCRIPTION, new ColumnInfo(C_DESCRIPTION, "Description", false, typeof(string)));
            _current.Add(C_GROUP_ID, new ColumnInfo(C_GROUP_ID, "GroupId", false, typeof(string)));

        }

        public ColumnInfo TECHNIC_ID
        {
            get { return this[C_TECHNIC_ID]; }
        }

        public ColumnInfo TECHNIC_CODE
        {
            get { return this[C_TECHNIC_CODE]; }
        }

        public ColumnInfo TECHNIC_NAME
        {
            get { return this[C_TECHNIC_NAME]; }
        }

        public ColumnInfo SEQUENCE
        {
            get { return this[C_SEQUENCE]; }
        }

        public ColumnInfo STATION_TYPE
        {
            get { return this[C_STATION_TYPE]; }
        }

        public ColumnInfo DELETE_FLAG
        {
            get { return this[C_DELETE_FLAG]; }
        }

        public ColumnInfo DESCRIPTION
        {
            get { return this[C_DESCRIPTION]; }
        }

        public ColumnInfo GROUP_ID
        {
            get { return this[C_GROUP_ID]; }
        }



    }
}

